//
//  CommonSQL.h
//  DouBanAgain
//
//  Created by Bang-guo on 15-6-9.
//  Copyright (c) 2015年 Bang-guo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "FoodAboutModle.h"
#import "FoodMenModle.h"
#import "FoodMagazineModle.h"
#import "MapCityModle.h"
@interface CommonSQL : NSObject

+(void)openDB;
+(void)operateTable:(NSString *)sql;
//foodAbout相关的select查询
+(NSMutableArray *)selectAllFood;
+(NSMutableArray *)selectAllFoodMen;
+(NSMutableArray *)selectAllFoodMen1;
+(NSMutableArray *)selectAllFoodMagazine;

+(MapCityModle *)selectMapCity:(NSString *)cityPinyinName;
+(NSMutableArray *)selectMapCityAll;
@end
